<template>
    <div class="transaction-record clearfix">
        <div>
            <p class="title"><img src="../../../assets/commodity/qian.png" alt=""><span>交易记录</span></p>
            <div class="record clearfix">
                <div class="record-title">
                    <ul>
                        <li>项目名称</li>
                        <li>买家匿名</li>
                        <li>定金</li>
                        <li>预约价格</li>
                        <li>交易时间</li>
                    </ul>
                </div>
                <div class="record-list clearfix">
                    <ul>
                        <li>【下颌角】【八大处@刘剑锋】下颌角改</li>
                        <li>真情***动</li>
                        <li>￥100</li>
                        <li>￥8218</li>
                        <li>2016-10-16 13:54:24</li>
                    </ul>
                    <ul>
                        <li>【下颌角】【八大处@刘剑锋】下颌角改</li>
                        <li>真情***动</li>
                        <li>￥100</li>
                        <li>￥8218</li>
                        <li>2016-10-16 13:54:24</li>
                    </ul>
                </div>
            </div>
        </div>
        <div class="transaction-problem">
            <p class="title"><span> 该医院参与的问题回答</span> 回答满意度<Rate disabled v-model="valueDisabled" /></p>
            <problem></problem>
        </div>
        <div class="xiangm">
            <p class="title"><span>你可以对以下项目感兴趣</span></p>
            <product-Reservation :width="width"  :movieList="navList"></product-Reservation>

        </div>
    </div>
</template>

<script>
    import productReservation from '../../ProductReservation/index.vue'
    import Problem from '@/components/Problem/index'
    export default {
        name: "TransactionRecord",
        props: ['navList', 'width'],
        components:{
            Problem,
            productReservation
        },
        data () {
            return {
                valueDisabled:5
            }
        }
    }
</script>

<style scoped lang="less">
    @import "../../../style/style";
    .transaction-record{
        .title{
             border-bottom: 2px solid @theme-color-dark;
             color: @theme-color-dark;
             font-size: 16px;
             padding-top: 20px;
             padding-bottom: 10px;
             span{
                 vertical-align: top;
             }
             img{
                 margin-top: 3px;
                 margin-right: 10px;
             }
         }
        .record{
            border: 1px solid #e9d9dc;
            margin-top: 15px;
            font-size: 14px;
            color: #666666;
            .record-title{
                height: 36px;
                background-color: #ffedf1;
                ul{
                    li{
                        float: left;
                        line-height: 36px;
                        width: 140px;
                        text-align: center;
                    }
                    >:first-child{
                        width: 280px;
                    }
                    >:last-child{
                        width: 220px;
                    }
                }

            }
            .record-list{

                ul{
                    height: 32px;
                    border-top: 1px solid #e9d9dc;
                    li{
                        float: left;
                        line-height: 32px;
                        width: 140px;
                        text-align: center;
                    }
                    >:first-child{
                        width: 280px;
                        overflow: hidden;
                        text-overflow:ellipsis;
                        white-space: nowrap;
                    }
                    >:last-child{
                        width: 220px;
                    }
                }
            }
        }
        .transaction-problem{
            >.title{
                color: #666666;
                >span{
                  width: 75%;
                  display: block;
                    float: left;
                }
            }
        }

    }
</style>